package com.ruoyi.web.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 退款对象 refund_record
 * 
 * @author song
 * @date 2024-05-17
 */
public class RefundRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 退款时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "填表时间", width = 30, dateFormat = "yyyy/MM/dd")
    private Date recordTime;

    /** 渠道 */
    @Excel(name = "渠道")
    private String paymentSource;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String productName;

    /** 订单号 */
    @Excel(name = "订单号")
    private String productNo;

    /** 昵称 */
    @Excel(name = "昵称")
    private String nickname;

    /** 责任人 */
    @Excel(name = "责任人")
    private String dutyName;

    /** 接单师傅 */
    @Excel(name = "接单师傅")
    private String operatorName;

    /** 操作人 */
    @Excel(name = "操作人")
    private String refundName;

    /** 购买金额 */
    @Excel(name = "购买金额")
    private BigDecimal productPrice;

    /** 退款金额 */
    @Excel(name = "退款金额")
    private BigDecimal refundPrice;

    /** 退款时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "退款时间", width = 30, dateFormat = "yyyy/MM/dd")
    private Date refundTime;

    /** 退款原因 */
    @Excel(name = "退款原因")
    private String description;

    /** 在哪个客服号 */
    @Excel(name = "在哪个客服号")
    private String chatSource;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setRecordTime(Date recordTime) 
    {
        this.recordTime = recordTime;
    }

    public Date getRecordTime() 
    {
        return recordTime;
    }
    public void setPaymentSource(String paymentSource) 
    {
        this.paymentSource = paymentSource;
    }

    public String getPaymentSource() 
    {
        return paymentSource;
    }
    public void setProductName(String productName) 
    {
        this.productName = productName;
    }

    public String getProductName() 
    {
        return productName;
    }
    public void setProductNo(String productNo) 
    {
        this.productNo = productNo;
    }

    public String getProductNo() 
    {
        return productNo;
    }
    public void setNickname(String nickname) 
    {
        this.nickname = nickname;
    }

    public String getNickname() 
    {
        return nickname;
    }
    public void setDutyName(String dutyName) 
    {
        this.dutyName = dutyName;
    }

    public String getDutyName() 
    {
        return dutyName;
    }
    public void setOperatorName(String operatorName) 
    {
        this.operatorName = operatorName;
    }

    public String getOperatorName() 
    {
        return operatorName;
    }
    public void setRefundName(String refundName) 
    {
        this.refundName = refundName;
    }

    public String getRefundName() 
    {
        return refundName;
    }
    public void setProductPrice(BigDecimal productPrice) 
    {
        this.productPrice = productPrice;
    }

    public BigDecimal getProductPrice() 
    {
        return productPrice;
    }
    public void setRefundPrice(BigDecimal refundPrice) 
    {
        this.refundPrice = refundPrice;
    }

    public BigDecimal getRefundPrice() 
    {
        return refundPrice;
    }
    public void setRefundTime(Date refundTime) 
    {
        this.refundTime = refundTime;
    }

    public Date getRefundTime() 
    {
        return refundTime;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setChatSource(String chatSource)
    {
        this.chatSource = chatSource;
    }

    public String getChatSource()
    {
        return chatSource;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("recordTime", getRecordTime())
            .append("paymentSource", getPaymentSource())
            .append("productName", getProductName())
            .append("productNo", getProductNo())
            .append("nickname", getNickname())
            .append("dutyName", getDutyName())
            .append("operatorName", getOperatorName())
            .append("refundName", getRefundName())
            .append("productPrice", getProductPrice())
            .append("refundPrice", getRefundPrice())
            .append("refundTime", getRefundTime())
            .append("description", getDescription())
            .append("chatSource", getChatSource())
            .append("remark", getRemark())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
